<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
Copyright (c) 2010 Luis Sánchez Castellanos (http://iquark.org)
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
   notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
   notice, this list of conditions and the following disclaimer in the
   documentation and/or other materials provided with the distribution.
3. Neither the name of copyright holders nor the names of its
   contributors may be used to endorse or promote products derived
   from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL COPYRIGHT HOLDERS OR CONTRIBUTORS
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
 */
/*
| -------------------------------------------------------------------
| YALSCI SETTINGS
| -------------------------------------------------------------------
| This file contains the settings needed to use YALSCI.
|  @author Luis Sánchez Castellanos
*/

// ['public'] public pages, yalsci doesn't show the login page with them.
$config['public'] = array('user/signin','user/register','user/forgot','user/activate','admin/','admin/signin');
// ['signInPage'] The controller's address for sign in.
$config['signInPage'] = 'user/signin';
// ['registerPage'] The controller's address for register users.
$config['registerPage'] = 'user/register';
// ['forgotPage'] The controller's address for the forgotten password's page.
$config['forgotPage'] = 'user/forgot';
// ['disableRegister'] Disable the register controller if don't want new users.
$config['disableRegister'] = FALSE;
// ['activationOnRegister'] Enable/disable activation when a user is registered.
$config['activationOnRegister'] = TRUE;
// ['useEmailAsUser'] Use the email as username.
$config['useEmailAsUser'] = FALSE;
// ['max_timemark'] Timemark (in seconds) for the register form, is an antispam filter.
$config['max_timemark'] = 5;
// ['max_tries'] Maximum number of tries in a sign in.
$config['max_tries'] = 5;
// ***Administrator User***
// ['admin_name'] Administrator's real name.
$config['admin_name'] = 'Administrator';
// ['admin_lastname'] Administrator's real lastname.
$config['admin_lastname'] = 'Smith';
// ['user'] Administrator's user name.
$config['user'] = 'admin';
// ['password'] Administrator's password in md5.
$config['password'] = '21232f297a57a5a743894a0e4a801fc3';
// ['adminController'] Administrator's controller name.
$config['adminController'] = 'admin';
// ['adminSignIn'] Administrator's signin controller name.
$config['adminSignIn'] = 'admin/signin';
// ***Database***
// ['usersTableName'] Name of 'users' table.
$config['usersTableName'] = 'usuario';
// ['usersTableName'] Name of 'inactive users' table.
$config['inactiveTableName'] = 'inactivo';
// ['user_id_attribute'] Name of 'user id' attribute in both tables.
$config['user_id_attribute'] = 'idusuario';
// ['username_attribute'] Name of 'user name' attribute in users table (when use an user name instead of email).
$config['username_attribute'] = 'usuario';
// ['name_attribute'] Name of 'real user name' attribute in users table.
$config['name_attribute'] = 'nombre';
// ['lastname_attribute'] Name of 'real user lastname' attribute in users table.
$config['lastname_attribute'] = 'apellidos';
// ['email_attribute'] Name of 'user email' attribute in users table.
$config['email_attribute'] = 'email';
// ['password_attribute'] Name of 'user password' attribute in users table.
$config['password_attribute'] = 'password';
// ['date_creation_attribute'] Name of 'user row date creation' attribute in users table.
$config['date_creation_attribute'] = 'date_creation';
// ['date_modification_attribute'] Name of 'user row date modification' attribute in users table.
$config['date_modification_attribute'] = 'date_modification';
// ['activation_key_attribute'] Name of 'user activation key' attribute in users table.
$config['activation_key_attribute'] = 'clave';
/* End of file yalsci.php */
/* Location: ./system/application/config/yalsci.php */
